<template>
  <view class="mh-ql-success">
    <view class="mh-ql-succ">
      <view class="mh-ql-succ-icon"></view>
      <view class="mh-ql-succ-ct">
        <view v-if="!type" class="mh-ql-succ-txt">头像采集成功</view>
      </view>
    </view>
    <view class="wrap-btn">
     <view class="mh-ql-succ-btn"  @click="goBack" >返 回</view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return{
      type:'',
      score:[],
    }
  },
  computed:{
    allFinish(){
      let dataIsi = uni.getStorageSync('dataIsi');
      let dataPhq9 = uni.getStorageSync('dataPhq9');
      let dataGad7 = uni.getStorageSync('dataGad7');
      return dataIsi && dataIsi.length && dataPhq9 && dataPhq9.length && dataGad7 && dataGad7.length;
    }
  },
  onLoad(option){
  },
  methods: {
    close(){
      // plus.runtime.quit();
    },
    goBack() {

      uni.reLaunch({
        url:'/pages/my/my'
      })
    },
  },
};
</script>

<style scoped lang="scss">
.mh-ql-success {
  min-height: 100vh;
  background-color: #F9F9F9;
  box-sizing: border-box;
  .mh-ql-succ {
    padding-top: 104rpx;
    background-color: #fff;
  } 
  .mh-ql-succ-icon {
    background-repeat: no-repeat;
    background-image: url(https://szgd-dev.tgovcloud.com/public/images/mentalHealth/suc.png);
    background-position: center center;
    background-size: 176rpx auto;
    height: 338rpx;
  }
  .mh-ql-succ-ct {
    padding-bottom: 80rpx;
    .mh-ql-succ-txt {
      font-size: 40rpx;
      font-family: PingFang SC;
      line-height: 60rpx;
      color: #333333;
      text-align: center;
    }
  }
  .wrap-btn {
    margin-top: 50rpx;
    padding: 0 32rpx;
    .mh-ql-succ-btn {
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #2C9AF1;
      font-size:30rpx;
      height: 94rpx;
      background: #FFFFFF;
      border: 1px solid #2C9AF1;
      border-radius: 16rpx;
    }
  }
  .hasType{
    margin-top: 30rpx;
  }
}
.complate{
  padding: 0 32rpx 100rpx 32rpx;
  box-sizing: border-box;
  .elseQuestion{
    font-size: 32rpx;
    height: 100rpx;
    line-height: 100rpx;
    font-family: PingFang SC;
    color: #333333;
  }
}
</style>
